package my.webservices.beans;

import my.webservices.VehicleHistoryService;

public class AddVehicleHistoryRequest implements Request{

	private Vehicle vehicle;


	/**
	 * @see my.webservices.beans.Request#visit(my.webservices.VehicleHistoryService)
	 */
	public Response visit(VehicleHistoryService service) throws Exception {
		return service.addVehicleHistory(this);
	}


	/**
	 * @return the vehicle
	 */
	public Vehicle getVehicle() {
		return vehicle;
	}


	/**
	 * @param vehicle the vehicle to set
	 */
	public void setVehicle(Vehicle vehicle) {
		this.vehicle = vehicle;
	}
	
}
